package org.example.model.enums;

/**
 * @Author: Ran
 * @Date: 2021/9/22
 **/
public enum BoFulfillRuleEnum {
    /**
     * bo不履约 相当于不启用
     */
    NOT_HOLD_BO(0, "BO不履约"),
    /**
     * 仿真周期内一直持有bo 不丢弃
     */
    HOLD_BO(1, "BO挂单履约"),
    /**
     * 在vlt内持有bo  后续 丢弃, 现在逻辑 (vlt+2)
     */
    HOLD_BO_IN_VLT(2, "BO挂单vlt内履约"),
    ;

    public final int code;
    public final String cnName;

    BoFulfillRuleEnum(int code, String cnName){
        this.code = code;
        this.cnName = cnName;
    }
}
